<div class="tree-container">
  <lv-tree [lvData]="data" [lvNodeTemplate]="nodeTpl" lvBlockNode></lv-tree>
</div>

<ng-template #nodeTpl let-item>
  <div class="ui-tree-node-item" (mouseover)="item.showOperation = true" (mouseleave)="item.showOperation = false">
    <span lv-overflow>{{ item.label }}</span>
    <lv-group lvGutter="8px" *ngIf="item.showOperation">
      <i lv-icon="icon-copy" lvColorState (click)="customize()"></i>
      <i lv-icon="lv-icon-more" lvColorState (click)="customize()"></i>
    </lv-group>
  </div>
</ng-template>
